package com.fjsay.java.demo8;

public class Human {
    String userName;
    String gender;
    int age;

    public Human(String userName, String gender, int age) {
        this.userName = userName;
        this.gender = gender;
        this.age = age;
    }

    public Human() {
    }

    public void introduce(){
        System.out.println("大家好,我叫"+this.userName+","+gender+",今年"+age+"岁，");
    }
}
